package main

import (
	"fmt"
	"log"
	"net/http"
)

func main(){
	http.HandleFunc("/",hanlder)
	log.Fatal(http.ListenAndServe("localhost:8000",nil))
}

func hanlder(w http.ResponseWriter,r *http.Request){
	fmt.Fprintf(w,"URL PATH = %q\n",r.URL.Path)
}